﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.Drawing;
using System.Windows.Forms;

namespace Quadarax.Foundation.Form.Control.GridEdit
{
    public class QGridEdit : System.Windows.Forms.Control
    {
        private bool m_bEditable = false;
        private bool m_bFixedColumn = false;
        private bool m_bShowColumnHeader = false;
        private bool m_bShowGridlines = false;

        private QColumnHeaderCollection m_oColumns = new QColumnHeaderCollection();
        private QGridItemCollection m_oItems = new QGridItemCollection();
        private Color m_oGridlineColor = Color.Black;

        public bool Editable { get { return m_bEditable; } set { m_bEditable = value; } }
        public bool FixedColumn { get { return m_bFixedColumn; } set { m_bFixedColumn = value; } }
        public bool ShowColumnHeader { get { return m_bShowColumnHeader; } set { m_bShowColumnHeader = value; } }
        public bool ShowGridlines { get { return m_bShowGridlines; } set { m_bShowGridlines = value; } }
        public QColumnHeaderCollection Columns { get { return m_oColumns; } }
        public QGridItemCollection Items { get { return m_oItems; } }
        public Color GridlineColor { get { return m_oGridlineColor; } set { m_oGridlineColor = value; } }


    }
}
